// @ts-nocheck
import React from 'react';
import styles from './css/index.scss';


export default (props: any)=> {
    return props.children;
}

export const PageError = () => {
    return <div className={styles.wrap}>
        {/* <img className={styles.img} src={`${require('./images/default.png')}`} alt="享道出行"/> */}
        <p className={styles.text}>资源加载失败</p>
        <div className={styles.wrapBtn}>
            <button className={styles.btn} onClick={() => window.location.reload()}>刷新页面</button>
        </div>
    </div>
};
